package org.easystub;

import java.lang.reflect.Method;
import java.util.Map;
import java.util.HashMap;

public class DefaultInvocationAnswerer implements InvocationAnswerer {

    public Object answer(Invocation invocation) {
        Class<?> returnType = invocation.getMethodCalled().getReturnType();
        return DefaultValues.defaultValueFor(returnType);
    }
}
